﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore
{
    //职位分类设置
    public class CMK
    {
        [Key]
        [DisplayName("编号")]
        [Required(ErrorMessage ="编号不能为空")]
        public short MfkId { get; set; }//主键
		[DisplayName("职位分类编号")]
		[Required(ErrorMessage = "职位分类编号不能为空")]
		public string MajorKindId { get; set; }//职位分类编号
		[DisplayName("职分类位名称")]
		[Required(ErrorMessage = "职分类位名称不能为空")]
		public string MajorKindName { get; set; }//职分类位名称
    }
}
